package org.videopractice.network.handler.service;

import org.videopractice.common.Logger;
import org.videopractice.media.MediaDecode;
import org.videopractice.network.handler.IService;
import org.videopractice.network.message.Message;
import org.videopractice.network.message.request.LiveDataRequest;

import io.netty.channel.Channel;

public class LiveDataService implements IService<LiveDataRequest> {

    @Override
    public Message process(LiveDataRequest response, Message message, Channel channel) {

        Logger.i("LiveDataService ====================" + response.toJson());
        MediaDecode.add(response);
        return null;
    }

}
